package me.banxi.ilearnandroid.demo.touch;

import me.banxi.ilearnandroid.demo.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class TouchDemoActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.touch_demo);
	}

	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.demo_drag_draw:
			startActivity(new Intent(this, DragAndDrawDemoActivity.class));
			break;

		default:
			break;
		}
	}
}
